import { reactive, toRefs } from 'vue'

const obj = reactive({
    a: 1,
    b: 2,
})

const { a, b } = toRefs(obj)
obj.a = 3
console.log(a);